#pragma once
#include "DXAMLCommon.h"

class CDependencyObject;
class CNoParentShareableDependencyObject;
class CBrush;
class CUIElement;

class TreeVisitor
{
public: 
	TreeVisitor();
	virtual void Visit(CDependencyObject * pBrush);
	virtual void Visit(CNoParentShareableDependencyObject * pBrush);
	virtual void Visit(CBrush * pBrush);
	virtual void Visit(CUIElement * pBrush);
	void Indent();
	void Unindent();
protected: 
	XINT32 m_nIndentation;
};